<div class="head-content">
	<div class="allCourse">
		<a href="javascript:;" class="courseLink">
			课程<i class="iconfont icon-jiantou"></i>
		</a>
		<div class="sub-allCourse sub-allCourse-home">
			<div class="main-content">
				<ul>
					{$redirects|returnTopNav=###}
				</ul>
			</div>
		</div>
		<div class="search">
			<form action="/search.html">
				<input type="text" name="kw" placeholder="搜索" class="search-input">
				<button type="submit" class="search-btn"><i class="iconfont icon-sousuo"></i></button>
			</form>

		</div>
	</div>
	<div class="logo">
		<a href="/"><img src="__PUBLIC__images/logo-white.png"></a>
	</div>
	<div class="nav">
		<a href="/about.html#return">返还学费说明</a>
		<a href="/about.html">关于我们</a>
		{if user()}
		<a href="/courses.html" class="user-dropdown">{$userData.nickname}</a>
		<div class="user-dropdown-sub">
			<ul>
				<li><a href="/courses.html">课程</a></li>
				<li><a href="/progress.html">进度</a></li>
				<li><a href="/order.html">订单</a></li>
				<li><a href="/mine.html">个人资料</a></li>
				<li><a href="/logout.html?redirect={$redirects}">退出</a></li>
			</ul>
		</div>
		{else}
		<a href="/login.html?redirect={$redirects}">登录</a>
		<a href="/register.html?redirect={$redirects}">注册</a>
		{/if}
	</div>
</div>